package com.JustTest;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * Created by mike on 17/11/2.
 */
public class Test {
    public Test() {
        System.out.println("no.6.........."+this.getClass().getName()+"Test()");
    }

    public String getB() {
        return b;
    }

    public void setB(String b) {
        this.b = b;
    }

    @Value("${filter.test}")
    public  String a;

    @Value("testtest")
    public String b;

    public String getC() {
        return c;
    }

    public void setC(String c) {
        this.c = c;
    }

    public String c;

    public String getA() {
        return a;
    }

    public void setA(String a) {
        System.out.println("no.8..........");
        this.a = a;
    }

    public void postCons(){
        System.out.println("no.13..........");
    }

    @PostConstruct
    public void po(){
        System.out.println("no.x..........");
    }
}
